]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
workspaceThumbnail: Queue state update after expanding
authorFlorian Müllner <fmuellner@gnome.org>
Wed, 24 Feb 2021 22:26:56 +0000 (23:26 +0100)
committerMarge Bot <marge-bot@gnome.org>
Wed, 3 Mar 2021 18:04:13 +0000 (18:04 +0000)
New workspaces are added in two steps, first the minimap expands to make
room for the new thumbnail, then the thumbnail animates in. However we
currently don't queue a state update after the first step, so the second
one only happens after one is queued by some other event (like a workspace
switch).

https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/3748

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1716>

js/ui/workspaceThumbnail.js

index e805c4f522ffb4938693797bdb887e63fd49f16e..17d29d0d1a8a7c0ea7237bba91c2c54537b33257 100644 (file)
@@ -1208,6 +1208,7 @@ var ThumbnailsBox = GObject.registerClass({
                 mode: Clutter.AnimationMode.EASE_OUT_QUAD,
                 onComplete: () => {
                     this._setThumbnailState(thumbnail, ThumbnailState.EXPANDED);
+                    this._queueUpdateStates();
                 },
             });
         });